package com.rcloud.server.sealtalk.service;

import com.rcloud.server.sealtalk.dao.UserDocListMapper;
import com.rcloud.server.sealtalk.domain.UserDocList;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserDocListService extends AbstractBaseService<UserDocList, Integer> {
    @Resource
    private UserDocListMapper mapper;

    @Override
    protected Mapper<UserDocList> getMapper() {
        return mapper;
    }

    public List<UserDocList> queryCardList(Integer userId) {
        return mapper.queryCardList(userId);
    }

}
